package com.ljm.lock.dto;

import java.io.Serializable;

/**
 * @Author: ChenHuaMing
 * @Date: 2020/10/9 15:18
 * @Description:
 */
public class LockValue implements Serializable {
    /**
     * 业务id
     */
    private String bussId;
    /**
     * 线程id
     */
    private String threadId;
    /**
     * 加锁时间
     */
    private long lockTime;
    /**
     * 锁失效时间
     */
    private long expireTime;

    public LockValue() {
    }

    public LockValue(String bussId, String threadId, long lockTime, long expireTime) {
        this.bussId=bussId;
        this.threadId = threadId;
        this.lockTime = lockTime;
        this.expireTime = expireTime;
    }

    public String getThreadId() {
        return threadId;
    }

    public void setThreadId(String threadId) {
        this.threadId = threadId;
    }

    public long getLockTime() {
        return lockTime;
    }

    public void setLockTime(long lockTime) {
        this.lockTime = lockTime;
    }

    public long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(long expireTime) {
        this.expireTime = expireTime;
    }

    public String getBussId() {
        return bussId;
    }

    public void setBussId(String bussId) {
        this.bussId = bussId;
    }
}
